package com.example.hanfu_backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("goods")
public class Goods {
    @TableId(value = "order_id",type = IdType.AUTO)
    private Integer orderId; // 编号
    @TableField(value = "customer_id")
    private Integer customerId; // 用户编号
    @TableField(value = "hanfu_id")
    private Integer hanfuId; // 汉服编号
    @TableField(value = "order_sum")
    private Integer orderSum; // 下单数量
    @TableField(value = "order_size")
    private String orderSize; // 大小
    @TableField(value = "order_address")
    private String orderAddress; // 地址
    @TableField(value = "order_price")
    private String orderPrice; // 总价
}
